package com.doghome.comments.dao;

import org.apache.ibatis.annotations.Mapper;

import com.doghome.common.pojo.Comment;

@Mapper
public interface CommentMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);
    
    int deleteByNewsKey(Integer nid);
}